var arrayOfTitles = new Array( "Testimony #1", "Testimony #2", "Testimony #3", "Testimony #4", "Testimony #4", "Testimony #5", "Testimony #6", "Testimony #7", "Testimony #8", "Testimony #8", "Testimony #9", "Testimony #9", "Testimony #10", "Testimony #10" );
var arrayOfImages = new Array( "images/client-1.jpg", "images/client-2.jpg", "images/client-3.jpg", "images/client-4.jpg", "images/client-4b.jpg", "images/client-5.jpg", "images/client-6.jpg", "images/client-7.jpg", "images/client-8.jpg", "images/client-8b.jpg", "images/client-9.jpg", "images/client-9b.jpg", "images/client-10.jpg", "images/client-10b.jpg" );


var index = 0;


function showNextItem()
{
	if( index < 13 || index !== 13 )
	{
		index = index + 1;
		document.getElementById( "title" ).innerHTML = arrayOfTitles[ index ];
		document.getElementById( "image" ).src = arrayOfImages[ index ];
		
	}
}	

function showPreviousItem()
{
	if( index > 0 || index !== 0 )
	{
		index = index - 1;
		document.getElementById( "title" ).innerHTML = arrayOfTitles[ index ];
		document.getElementById( "image" ).src = arrayOfImages[ index ];
	}
}

